package com.ruibang.glass.purchase.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruibang.glass.purchase.domain.req.PurchaseReportReq;
import com.ruibang.glass.purchase.entity.PurchaseBidEvaluationReports;
import com.ruibang.glass.purchase.entity.ProcureReportBidders;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 销售评标报告 Mapper 接口
 * </p>
 *
 * @author mameng
 * @since 2024-03-27
 */
@Mapper
public interface PurchaseBidEvaluationReportsMapper extends BaseMapper<PurchaseBidEvaluationReports> {

    IPage<PurchaseBidEvaluationReports> getPage(Page<ProcureReportBidders> page, @Param("purchaseReportReq") PurchaseReportReq purchaseReportReq);

    List<ProcureReportBidders> getByProjectNumber(@Param("projectNumber") String projectNumber);

    List<PurchaseBidEvaluationReports> getContractsProject(@Param("spStatus")  String spStatus);
}
